-- GENERATED SPELL FOR [Tangled Horror] --


function spell0_766(pUnit, Event) --@Wild Regeneration,Self--
pUnit:FullCastSpellOnTarget(7948,pUnit)
pUnit:RegisterEvent('Sorts_766', 23000, 1)
end

function Sorts_766(pUnit, Event)
local choix_sorts_766 = math.random(0, 0)
if choix_sorts_766 == 0 then
pUnit:RegisterEvent('spell0_766', 1, 1)
end
end

function mob766_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_766', math.random(1500, 3000), 1)
end

function mob766_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob766_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob766_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(766, 1, 'mob766_Action')
RegisterUnitEvent(766, 2, 'mob766_Leave')
RegisterUnitEvent(766, 3, 'mob766_Kill')
RegisterUnitEvent(766, 4, 'mob766_Die')
